@import "includes/include";
#page{
  overflow: hidden;
}

#sidebar-transition{
  position: absolute;
  top: 15px;
  left: 15px;
  background: #000;
  z-index: 999;
  border: #000;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  opacity: 0.8;
  display: none;
  &:hover, &:focus{
    opacity: 1;
  }
}

.form-submit{
  padding: 15px 90px;
  @include font-open_sanslight;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  border: 1px solid $black;
  @include effect;
  background-color: #fff;
  &:hover, &:focus{
    background-color: $black;
    color: $white;
  }
}

/* sidebar */
nav{
  width: 235px;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 10;
  background: url("../images/bg-sidebar.png") 0 0 repeat $black;
  padding: 45px 30px;
  @include clearfix;
  @include effect;
  .region-main-menu{
    clear: both;
    padding-top: 90px;
  }
}

.st-menu-open{
  nav{
    left: 0;
  }
  #main{
    left: 235px;
  }
  #sidebar-transition{
    display: none;
  }
}

.not-front{
  #sidebar-transition{
    display: none;
  }
  nav{
    left: 0;
  }
  #main{
    left: 235px;
  }
}

/* main */
#main{
  position: absolute;
  left: 235px;
  right: 0;
  top: 0;
  height: 100%;
  z-index: 2;
  @include effect;
  .container{
    padding:{
      left: 0;
      right: 0;
    }
    width: 100%;
    height: 100%;
  }
}

/** logo */
#logo{
  width: 20px;
  display: inline-block;
  float: left;
  margin-right: 5px;
  margin-top: 3px;
}

#name-and-slogan{
  display: inline-block;
  float: left;
  #site-name{
    font-size: 21px;
    margin-bottom: 0;
    @include font-open_sanslight;
    a{
      color: $white;
      font-weight: 300;
    }
  }
}

#block-system-main-menu{
  .menu{
    margin-bottom: 0;
    padding-left: 0;
    li{
      margin-left: 0;
      list-style: none;
      padding:{
        top: 0;
        right: 0;
      }
      margin:{
        left: -30px;
        right: -30px;
      }
      a{
        color: $dark-gray;
        text-transform: uppercase;
        line-height: 1;
        display: block;
        padding: {
          top: 15px;
          bottom: 15px;
          left: 30px;
          right: 30px;
        }
        position: relative;
        &:hover, &:focus{
          background-color: rgba($white, 0.1);
          color: $white;
        }
        &:before{
          content: "";
          position: absolute;
          left: 0;
          bottom: 0;
          @include sprites;
          background-position: 0 -6px;
          width: 100%;
          height: 3px;
        }

      }
      .active{
        background-color: rgba($white, 0.1);
        color: $white;
      }
      &:last-child{
        a{
          &:before{
            content: none;
            background: none;
            position: static;
          }
        }
      }
    }
  }
}

/* flexslider  */
.ss-slides-wrap{
  background: none;
  border: none;
  border-radius: 0;
  -webkit-border-radius: 0;
  box-shadow: none;
  -webkit-box-shadow: none;
  margin-bottom: 0;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  .fieldset{
    position: absolute;
    top: 60%;
    left: 100px;
  }
  .views-field-title{
    font:{
      size: $font-size-60;
    }
    @include font-tinositalic;
    a{
      color: $black;
    }
  }
  .views-field-body{

  }
}

.front{
  #main{
    .row{
      margin-left: 0;
      margin-right: 0;
    }
    .col-sm-12{
      padding:{
        left: 0;
        right: 0;
      }
      position: static;
    }
  }
}
/* end home page */

/* social-list */
.social-list{
  position: absolute;
  bottom: 120px;
  &:after{
    content: "";
    height: 1px;
    width: 100%;
    position: absolute;
    bottom: -18px;
    left: 0;
    background-color: $dark-gray;
  }
  h3 {
    font-size: $font-size-13;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: $dark-gray;
  }
  ul{
    margin-bottom: 0;
    padding-left: 0;
    li{
      list-style: none;
      display: inline-block;
      a{
        width: 30px;
        height: 30px;
        display: block;
        color: $dark-gray;
        font-size: 18px;
        text-align: center;
        &:hover, &:focus{
          background-color: $white;
        }
      }
      i{
        &:before{
          width: 30px;
          height: 30px;
          line-height: 30px;
          text-align: center;
        }
      }
    }
  }
}

/* copyright */
.copyright{
  color: $dark-gray;
  @include font-open_sanslight;
  position: absolute;
  bottom: 20px;
  h3{
    font-size: $font-size-13;
    text-transform: uppercase;
    margin-bottom: 0;
    a{
      color: $dark-gray;
      &:hover, &:focus{
        color: $white;
      }
    }
  }
  p{
    font-size: $font-size-13;
  }
}

/* page contact */
.not-front{
  #main{
    .container{
      padding: 45px 100px;
    }
  }
}

/* title */
#page-title{
  font-size: $font-size-25;
  @include font-open_sanslight;
  position: relative;
  margin-bottom: 35px;
  &:after{
    position: absolute;
    content: "";
    height: 1px;
    width: 170px;
    background-color: $black;
    left: 0;
    bottom: 0;
  }
}

/* form contact */
#webform-client-form-10{
  label{
    display: none;
  }

  .form-textarea{
    min-height: 160px;
  }
  .grippie{
    display: none;
  }
  .form-text, .form-textarea{
    width: 100%;
  }
  .group-contact-info{
    @include clearfix;
    margin:{
      left: -15px;
      right: -15px;
    }
    .form-item{
      margin-top: 0;
      width: 50%;
      float: left;
      margin-bottom: 0;
      padding:{
        left: 15px;
        right: 15px;
      }
    }
  }
  .form-actions{
    text-align: right;
  }
}

#main{
  #content{
    .region-content{
      padding-top: 30px;
    }
  }
}

.node-type-webform{
  #main{
    .region-content{
      @include clearfix
    }
    .block-system{
      width: 60%;
      float: left;
      margin-bottom: 20px;
    }
    .contact-address-block{
      width: 40%;
      float: left;
      padding-left: 30px;
      padding-top: 60px;
      img, h2{
        float: left;
      }
      img{
        margin-top: 5px;
        margin-right: 5px;
      }
      address{
        clear: both;
        p{
          margin-bottom: 5px;
        }
      }
    }
  }
}

.map-block{
  margin:{
    left: -100px;
    right: -100px;
  }
  iframe{
    width: 100%;
    height: 380px;
  }
}

/* about us */
.view-about-us{
  .views-row{
    margin-right: -25px;
    margin-left: -25px;
  }
  .grid-inner{
    margin-right: 25px;
    margin-left: 25px;
  }
  .views-field-field-picture{
    img{
      border-radius: 3px;
      -webkit-border-radius: 3px;
    }
  }
  .views-field-title{
    color: $black;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 700;
  }
  .entity-field-collection-item{
    position: relative;
    margin-bottom: 20px;
  }
  .field-name-field-level{
    position: relative;
    min-height: 50px;
    margin-bottom: 0;
    .field-item{
      > div:not(.progress){
        bottom: 0;
        right: 0;
        position: absolute;
      }
    }
  }
  .field-name-field-skill-name{
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: 0;
  }
}

.progress-bar{
  background: #000;
}

/* gallery */


.view-gallery{
  margin-left: -100px;
  margin-right: -100px;
  .grid-inner{
    overflow: hidden;
    position: relative;
    &:hover, &:focus{
      .views-field-title{
        bottom: 20px;
      }
      .views-field-field-image{
        img{
          transform: scale(1.1);
          -webkit-transform: scale(1.1);
          -o-transform: scale(1.1);
          -moz-transform: scale(1.1);
          -ms-transform: scale(1.1);
          @include transition(0.5);
        }
        &:before{
          width: 100%;
          height: 100%;
          position: absolute;
          left: 0;
          top: 0;
          z-index: 1;
          background-color: rgba($black, 0.6);
          content: "";
          display: block;
        }
      }
    }

  }
  .views-field-field-image{
    display: block;
    cursor: pointer;
    position: relative;
    margin-bottom: 0;
    @include effect;
  }
  .views-field-title{
    position: absolute;
    bottom: -20px;
    left: 20px;
    z-index: 4;
    width: 100%;
    height: 20px;
    margin-bottom: 0;
    @include effect;
    a{
      color: #d0d0d0;
      &:hover, &:focus{
        color: #fff;
      }
    }
  }
}